<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>查询下单列表</title>
</head>
<body>
<form action="#" method="post">
    房型列表：
    <table width="100%" border=1>
        <tr>
            <td>XID</td>
            <td>下单房间数量</td>
            <td>下单人</td>
            <td>下单人电话</td>
            <td>下单总价格</td>
            <td>酒店id</td>
            <td>房型id</td>
            <td>用户id</td>
        </tr>
        <c:forEach items="${xiadanlist}" var="xiadan">
            <tr>
                <td>${xiadan.xid}</td>
                <td>${xiadan.xcount}</td>
                <td>${xiadan.xpeople}</td>
                <td>${xiadan.xphone}</td>
                <td>${xiadan.xprice}</td>
                <td>${xiadan.jid}</td>
                <td>${xiadan.fid}</td>
                <td>${xiadan.id}</td>
            </tr>
        </c:forEach>

    </table>
</form>
</body>

</html>